package com.lww.springcloudapi.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value = "TabHallBusiness对象", description = "业务实体")
public class TabHallBusiness implements Serializable {

    @ApiModelProperty(value = "业务id")
    @TableField("id")
    private int id; //业务id

    @ApiModelProperty(value = "业务标题")
    @TableField("business")
    private String business; //业务标题

    @ApiModelProperty(value = "业务资费")
    @TableField("businesscharges")
    private Double businesscharges; //业务资费

    @ApiModelProperty(value = "描述")
    @TableField("describes")
    private String describes; //描述

    @ApiModelProperty(value = "类型")
    @TableField("types")
    private String types; //类型

}